package com.wctj.api.base.constant;

/**
 * TODO DESCRIPTION
 *
 * @author zzl
 * @date 2021-10-27
 */
public class Constants {

    public static final Long SYSTEM_TENANT_ID = -1L;

    public static final String SYSTEM_NAME = "system";



    public static final String HUIFU_MEMBER_PERSONAL_PREFIX = "M";
    public static final String HUIFU_CORP_MEMBER_PERSONAL_PREFIX = "C";

    public  static final String CHARSET_UTF8 = "UTF-8";



    /**
     * 登录错误次数
     */
    public static final String REDIS_PREFIX="MALL:";
    public static final String LOGIN_ERROR_COUNT = REDIS_PREFIX + "MALL_LOGIN_USERID_ERROR_COUNT";

    public static final String LOGIN_TOKEN = REDIS_PREFIX + "TOKEN_";


    /**
     * 系统管理员  isAdmin = 2
     */
    public static final int SYSTEM_IS_ADMIN_VALUE = 2;


}
